/* 
    伪类：
    element:hover 鼠标悬浮样式
    element:link 
    element:visited 已访问
    element:active 鼠标点击为松开
    

*/
*{
    margin: 0;
    padding: 0;
}
.a1{
    display: block;
    width: 80px;
    height: 30px;
    text-decoration: none;
    background-color: rgb(87, 175, 242);
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 30px;
}
/* 鼠标悬浮样式 */
.a1:hover{
    background-color: rgb(42, 88, 123);
}
.a1:link{
    color: red;
}
/* 鼠标点击为松开 */
.a1:active{
    color: yellow;
}
.mycart,.cart{
    display: block;
    width: 60px;
    height: 20px;
    background-color: rgb(248, 215, 191);
    margin-bottom: 20px;
}
.mycart img{
    width: 20px;
    height: 20px;
    border: none;
    float: left;
}
.mycart span{
    float: left;
    display: block;
    width: 40px;
    height: 20px;
    font-size: 11px;
    color: rgb(190, 121, 121);
    text-align: center;
    line-height: 20px;
    color: gray;
}
.cart{
    font-size: 10px;
    text-decoration: none;
    text-align: center;
    line-height: 20px;
}
.cart::before{
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    /* background-image: url(../images/cart.svg); */
    content: "hot";
    border-radius: 100%;
    background-color: red;
    font-size: 5px;
    position: relative;
    top: -10px;
    left: 10px;
}
.like{
    width: 24px;
    height: 24px;
    background-color: rgb(224, 216, 216);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-image: url(../images/like.png);
}
.like:hover{
    background-image: url(../images/like_over.png);
}
